
class Menu:
    menu_name = ""
    menu_address = ""
    
    def __init__(self, _name, _address):
        self.menu_name = _name
        self.menu_address = _address
    
    def _get_name(self):
        print self.menu_name
        return self.menu_name
    name = property(_get_name)
    
    def _get_address(self):
        return self.menu_address
    address = property(_get_address)
    
MainLoggedIn = [Menu("Strona glowna", "/"),
                Menu("Wyszukaj", "/search/"),
                Menu("Mapa", "/map/"),
                Menu("Wyloguj", "/auth/logout/")]

MainLoggedOut = [Menu("Strona glowna", "/"),
                 Menu("Wyszukaj", "/search/"),
                 Menu("Mapa", "/map/"),
                 Menu("Zaloguj", "/auth/login/"),
                 Menu("Zarejestruj", "/auth/register/")]